package cagt.tools.standard.poker.holdem;

import cagt.tools.LimitedHashSet;
import cagt.tools.standard.StandardCard;

/**
 * Class representing players card in Texas Holdem.
 * 
 * @author Konrad
 * 
 */
public class Hand extends LimitedHashSet<StandardCard> {
	private static final long serialVersionUID = 1L;

	public final static int HAND_LIMIT = 2;

	public Hand() {
		super(HAND_LIMIT);
	}

	/**
	 * Returns whether this hand is valid for further analysis.
	 * 
	 * @return True if size is >= than usability size.
	 */
	public boolean isValid() {
		return isFull();
	}
}
